// src/Dog.hpp
#ifndef DOG_HPP
#define DOG_HPP

#include "animal.hpp"
#include <iostream>

class Dog : public Animal {
public:
    explicit Dog(const std::string& name)
      : Animal(name) {}
    void speak() const override {
        std::cout << "I'm " << name_ << " the dog!\n";
    }
};

#endif // DOG_HPP